package pogeact;

import java.util.Scanner;

public class Main {
    private static chaozuo yh2(){
        Scanner S=new Scanner(System.in);
        System.out.println("请选择您的身份");
        System.out.println("1.管理员");
        System.out.println("2.用户");
        System.out.println("3.退出");
        int js=S.nextInt();
        if(js==1){
            return new gl();
        }else if(js==2){
            return new yh();
        }else{
            System.out.println("退出");
        }

        return null;
    }

    public static void main(String[] args) {
        chaozuo cha=yh2();
        while(true){
            int chioa=cha.mnue();
            cha.worK (chioa);
        }
    }
}
